package com.lyw.idempotentstarter.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Idempotent {
//    @AliasFor("value")
    String paramName() default "token";
//    @AliasFor("paramName")
    String value() default "";
}
